package com.zebraphp.devtool.httpUtils.NetImageHttp;

/**
 * Created by SimonTeam on 2017/8/12.
 * 单例化图片-请求
 * 图片请求工具选择加载器
 */

public class LoadImageTool {
    private static volatile ImageLoaderInterfaceStandard mProvider;

    public static ImageLoaderInterfaceStandard getProvider() {
        if (mProvider == null) {
            synchronized (LoadImageTool.class) {
                if (mProvider == null) {
                    mProvider = (ImageLoaderInterfaceStandard) new PicassoImageHttpStandardUtil();
                }
            }
        }
        return mProvider;
    }
}
